Skip to content

Fix regression parsing singly quoted strings in LLM output#76

Merged
jseyfried merged 1 commit into
mainfrom
json-fallback
Feb 15, 2026
Merged

Fix regression parsing singly quoted strings in LLM output#76
jseyfried merged 1 commit into
mainfrom
json-fallback

Conversation

@jseyfried

@jseyfried jseyfried commented Feb 14, 2026

Copy link
Copy Markdown
Contributor

json.loads(f'"{match[1:-1]}"') doesn't work because of examples like ' " '. Using ast.literal_eval here instead.

@jseyfried jseyfried merged commit 4e708e5 into main Feb 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants